<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Requête de vacances du personnel</title> 

<!-- 全局风格CSS --> 
<link href="{$domain}/Public/css/layout.css" rel="stylesheet" type="text/css" /> 
<script src="{$domain}/Public/jquery.js" /></script> 

</head> 
<body> 
<div class="header"><!-- 头部 begin --> 
	
	<div class="nav"> 
		<ul> 
			<li><a href="{$domain}/index.php" class="fb14">Accueil</a></li> 
			<!--  <li class="on"> --> 
			<li><a href="{$domain}/index.php/Admin" class="fb14">Management</a></li> 
			<li><a href="{$domain}/cleancache.php" class="fb14" target="_blank">CleanCache</a></li>
		</ul> 
	</div>   
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<a href="javascript:history.go(-1)"><font color="#FFFFFF">Retour</font></a>  &nbsp;&nbsp;
	<a href="javascript:window.location.reload();"><font color="#FFFFFF">Actualiser</font></a>  &nbsp;&nbsp;
	<a href="javascript:history.forward()"><font color="#FFFFFF">Suivant</font></a>  &nbsp;&nbsp;
	
</div><!-- 头部 end --> 

<script>
function checkAll(o){
		if(document.getElementById('totalAllCount')){
			var total=parseInt(document.getElementById('totalAllCount').value);
		}else{
			var total='all';
		}
		if( o.checked == true ){
			if(document.getElementById('expall')){
				document.getElementById('expall').value=1;
			}
			jQuery('input[name="checkbox[]"]').attr('checked','true');
		if(document.getElementById('totalnums')){
			document.getElementById('totalnums').innerHTML=total;
		}
		}else{
			if(document.getElementById('expall')){
				document.getElementById('expall').value=0;
			}
			jQuery('input[name="checkbox[]"]').removeAttr('checked');
		if(document.getElementById('totalnums')){
			document.getElementById('totalnums').innerHTML=0;
		}
		}
		if(total.toString()=='NaN'){
		getChecked();
		}
}

function getChecked() {
		var uids = new Array();
		$.each($('table input:checked'), function(i, n){
			if($(n).val()!='all'){
				uids.push( $(n).val() );
			}
		});
		if(document.getElementById('totalnums')){
			document.getElementById('totalnums').innerHTML=uids.length;
		}
		return uids;
}

function checkExp(){
	if(getChecked().length==0){
		alert('没有选择任何条目!');
		document.getElementById('contin').disabled=false;
		document.getElementById('decompte').disabled=false;
		return false;
	}
		document.getElementById('contin').disabled=false;
		document.getElementById('decompte').disabled=false;
}
</script>